package org.mspring.mlog.service;

import java.util.List;

import org.mspring.mlog.entity.LinkType;
import org.mspring.platform.dao.hibernate.IGenericDao;

/**
 * 
 * @author Gao Youbo
 * @since 2013-06-18 16:34:42
 */
public interface LinkTypeService extends IGenericDao<LinkType, java.lang.Long> {

    /**
     * @return
     */
    List<LinkType> findAllVisable();

    /**
     * @param ids
     * @param names
     */
    void updateLinkTypeNames(Long[] ids, String[] names);

    /**
     * @param ids
     * @param orders
     */
    void updateLinkTypeOrders(Long[] ids, Long[] orders);

    /**
     * @param visable
     * @param id
     */
    void setLinkTypeVisable(boolean visable, Long[] id);

}